package projects;
import java.util.Random;

public class Tools {

	public static double computeRandomWeight(Random r) {
		double randomWeight = (double)r.nextInt(20) / (double)100;
		boolean negative = r.nextBoolean();
		if (negative) randomWeight = -randomWeight;
		return randomWeight;
	}
}
